<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="/favicon.ico">
  <title>土特产在线商城后台</title>
  <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  <style>
    html,
    body,
    #app {
      height: 100%;
      margin: 0px;
      padding: 0px;
      font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    }

    .chromeframe {
      margin: 0.2em 0;
      background: #ccc;
      color: #000;
      padding: 0.2em 0;
    }

    #loader-wrapper {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 999999;
      background: #f8fdf9;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .page-title {
      font-size: 28px;
      font-weight: bold;
      color: #2a7d2e;
      margin-bottom: 60px;
      text-align: center;
      letter-spacing: 2px;
      text-shadow: 0 2px 4px rgba(42, 125, 46, 0.1);
    }

    .loader-container {
      position: relative;
      width: 150px;
      height: 150px;
      margin-bottom: 60px;
    }

    .circle-outer {
      position: absolute;
      width: 150px;
      height: 150px;
      border: 3px solid transparent;
      border-top-color: #4caf50;
      border-radius: 50%;
      animation: spin 2s linear infinite;
      box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    }

    .circle-middle {
      position: absolute;
      top: 15px;
      left: 15px;
      width: 120px;
      height: 120px;
      border: 3px solid transparent;
      border-top-color: #8bc34a;
      border-radius: 50%;
      animation: spin 1.5s linear infinite;
      opacity: 0.9;
      box-shadow: 0 0 8px rgba(139, 195, 74, 0.2);
    }

    .circle-inner {
      position: absolute;
      top: 30px;
      left: 30px;
      width: 90px;
      height: 90px;
      border: 3px solid transparent;
      border-top-color: #cddc39;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      opacity: 0.8;
      box-shadow: 0 0 6px rgba(205, 220, 57, 0.2);
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    .load_title1 {
      font-size: 18px;
      color: #388e3c;
      text-align: center;
      margin-bottom: 15px;
      line-height: 1.5;
      font-weight: 500;
    }

    .load_title2 {
      font-size: 13px;
      color: #689f38;
      text-align: center;
      line-height: 1.5;
      letter-spacing: 1px;
      background: linear-gradient(135deg, #689f38, #8bc34a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 500;
    }

    /* 加载完成后的动画 */
    .loaded #loader-wrapper {
      opacity: 0;
      visibility: hidden;
      transition: all 0.5s ease-out;
    }

    .loaded .loader-container {
      transform: scale(0.8);
      opacity: 0;
      transition: all 0.3s ease-out;
    }

    .no-js #loader-wrapper {
      display: none;
    }

    .no-js h1 {
      color: #222222;
    }
  </style>
</head>

<body>
  <div id="app">
    <div id="loader-wrapper">
      <div class="loader-container">
        <div class="circle-outer"></div>
        <div class="circle-middle"></div>
        <div class="circle-inner"></div>
      </div>
      <div class="page-title">土特产在线后台管理</div>
      <div class="load_title1">正在为您连接优质农产品，每一份购买都是对农民的支持</div>
      <div class="load_title2">连接城乡 · 爱心助农 · 品质生活</div>
    </div>
  </div>

  <script>
    // 模拟加载完成
    window.addEventListener('load', function () {
      setTimeout(function () {
        document.body.classList.add('loaded');
      }, 3000); // 3秒后隐藏加载页面
    });

    // 如果js不可用，确保内容仍然可见
    document.body.classList.add('js-enabled');
  </script>

  <script type="module" src="/src/main.js"></script>
</body>

</html>